package com.example.base.entity

/**
 * 预下单参数的实体类  生成实体类有初始化的值
 */
data class PreOrderEntityParam(
    val attrValueId: Int = 0,
    val bargainId: Int = 0,
    val bargainUserId: Int = 0,
    val combinationId: Int = 0,
    var orderDetails: List<OrderDetail> = emptyList<OrderDetail>(),
    val orderNo: String = "",
    val pinkId: Int = 0,
    var preOrderType: String = "",
    val productId: Int = 0,
    val productNum: Int = 0,
    val seckillId: Int = 0,
    val shoppingCartId: Int = 0
)

data class OrderDetail(
    val attrValueId: Int = 0,
    val bargainId: Int = 0,
    val bargainUserId: Int = 0,
    val combinationId: Int = 0,
    val orderDetails: List<String> = emptyList(),
    val orderNo: String = "",
    val pinkId: Int = 0,
    val preOrderType: String = "",
    val productId: Int = 0,
    val productNum: Int = 0,
    val seckillId: Int = 0,
    var shoppingCartId: Int = 0
)